package com.hkrt.demo.domain.exception;

/**
 * 在此写用途
 *
 * @version V1.0 <描述当前版本功能>
 * @FileName: ApiException.java
 * @author: cjg
 * @date: 2017-11-06 16:06
 * @email:945145352@qq.com | chen7091965@gmail.com
 */
public class ApiException extends Exception {

    //错误码
    private String rsp_code;

    public ApiException(String code, String msg) {
        super(msg);
        this.rsp_code = code;
    }

    public String getCode() {
        return rsp_code;
    }

    public void setCode(String code) {
        this.rsp_code = code;
    }


}
